function main() {
    //程序入口
    require(["pluginAttach", "knockout"], function (pluginAttach, ko) {
        let vm = {
            name: "bob",
            friends: [
                {
                    name: "ken",
                    friends: [{ name: "sam" }, { name: "jane" }],
                },
                {
                    name: "tom",
                    friends: [{ name: "black" }, { name: "white" }],
                },
            ],
        };

        ko.applyBindings(vm, document.getElementById("root"));
    });
}
require(["../scripts/require.config"], main);
